Cloud Design Patterns
About the Example
|
This document describes the Pipes and Filters Pattern example from the guide Cloud Design Patterns (see http://aka.ms/Cloud-Design-Patterns).
Before you start
Ensure that you have installed all of the software prerequisites. For details see the Release Notes.
The example demonstrates operational aspects of applications running in Windows Azure. Therefore, you will need to use the diagnostics tools in order to understand how the code sample works. You must ensure that the web and worker roles in the solution are configured to use the diagnostics mechanism. If not, you will not see the trace information generated by the example.
About the Example
This example contains two filters that could perform some part of the overall processing for a task. The two filters are combined into a pipeline; the output of one filter is passed as the input to the next. The filters are implemented as separate worker roles and a Windows Azure Service Bus queue provides the infrastructure that acts as the pipe.
Running the Example
You can run this example locally in the Visual Studio Windows Azure emulator. You can also run this example by deploying it to a Windows Azure Cloud Service.